"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.handleGetListDesignActionButtonName = exports.getListDesignActionButtonName = exports.createListDesignActionButton = void 0;
var _core = require("@vxe-ui/core");
const getListDesignActionButtonName = name => {
  return (0, _core.getI18n)(`vxe.listDesign.activeBtn.${name}`);
};
exports.getListDesignActionButtonName = getListDesignActionButtonName;
const handleGetListDesignActionButtonName = params => {
  return getListDesignActionButtonName(params.name);
};
exports.handleGetListDesignActionButtonName = handleGetListDesignActionButtonName;
const createListDesignActionButton = btnObj => {
  return Object.assign({
    name: '',
    icon: '',
    type: '',
    classify: '',
    code: '',
    status: '',
    permissionCode: ''
  }, btnObj);
};
exports.createListDesignActionButton = createListDesignActionButton;